package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SginInRewardsMapper;
import com.ruoyi.system.domain.SginInRewards;
import com.ruoyi.system.service.ISginInRewardsService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
@Service
public class SginInRewardsServiceImpl implements ISginInRewardsService 
{
    @Autowired
    private SginInRewardsMapper sginInRewardsMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param sginInRewardsId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public SginInRewards selectSginInRewardsBySginInRewardsId(Long sginInRewardsId)
    {
        return sginInRewardsMapper.selectSginInRewardsBySginInRewardsId(sginInRewardsId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param sginInRewards 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<SginInRewards> selectSginInRewardsList(SginInRewards sginInRewards)
    {
        return sginInRewardsMapper.selectSginInRewardsList(sginInRewards);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param sginInRewards 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertSginInRewards(SginInRewards sginInRewards)
    {
        return sginInRewardsMapper.insertSginInRewards(sginInRewards);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param sginInRewards 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateSginInRewards(SginInRewards sginInRewards)
    {
        return sginInRewardsMapper.updateSginInRewards(sginInRewards);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param sginInRewardsIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSginInRewardsBySginInRewardsIds(Long[] sginInRewardsIds)
    {
        return sginInRewardsMapper.deleteSginInRewardsBySginInRewardsIds(sginInRewardsIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param sginInRewardsId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSginInRewardsBySginInRewardsId(Long sginInRewardsId)
    {
        return sginInRewardsMapper.deleteSginInRewardsBySginInRewardsId(sginInRewardsId);
    }
}
